<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php session_start();
//TO get coupon information
$temp=$_SESSION['Coupon'];
$coup=sprintf("%1\$.2f",$temp);
//To know login information
$_SESSION['UserPWD']=md5($_POST['Suserpwd']);
$_SESSION['Username']=$_POST['Susername'];
$USERNAME=$_POST['Susername'];
$PASSWORD=md5($_POST['Suserpwd']);

$link = mysql_connect('cash2uca.ipagemysql.com', 'cash2uca', 'actW3740!@#$'); 
if (!$link) { 
    die('Could not connect: ' . mysql_error()); 
} 
mysql_select_db(cash2uca); 

//To pull out login information
$SQL="SELECT UserName,Password,Roles FROM `AdminTables` WHERE UserName = '$USERNAME' and Password='$PASSWORD'";
$LoginID=mysql_query($SQL);
$rows = mysql_fetch_array($LoginID);
if (mysql_num_rows($LoginID)!= 1) { 
 echo "Your username and password are not correct, please re-enter your username and password"; 
 include "cash2u.php"; 
 exit();
} 
else { 
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; 
$_SESSION['Roles'] = $rows['Roles'];
$ROLE=$rows['Roles'];
}

if ($ROLE==md5('admin')) {
include "fullservices.php";
}
elseif ($ROLE==md5('employee'))
{include "fullservices_p.php";}

mysql_close($link);
?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Cash2u.ca: Payday loan online application process</title>
<META NAME="Keywords" CONTENT="How it works, payday loans,cash advance, payday loan, pay day loans, payday cash advance, online, unsecured loans, no fax payday loans, payday advance, payday cash loan, payday loans, cash advance, paycheque loans, short term,fast cash, unsecured personal loans, pay day loan, no fax loans, no faxing payday loans, no fax cash advance, faxless payday loans, short term loans, unsecured personal loan, unsecured loan, online loans, quick cash, no fax payday loan, payday cash advance, cash advance, online loan, fast cash loans, signature loan, no fax pay day loans, pay day advance, payday loans no faxing required, payday loan online, no faxing cash advance, payday loans no faxing, canada, money mart, money here, quick cash,check,cashing,easy,tax, bill,payment,currency,card,credit,Easy Cash Advances,Internet Payday loans, Payroll Advance, Payday Loan Services,Online Payday Advances, Online Payday Loan Provider, Pay Day">
</head>
<body>
</body>
</html>



















































